Multi channels data transmission control method

ABSTRACT

A multi channels data transmission control method comprises steps of: provide multiple channels and channel counters with the same number, these channels have multiple data frames; based on these channels and data frames to generate an acknowledgement record matrix; partition data into several segments; and arrange every data segment into every channel&#39;s frame sequentially and check the transferring status of previous frame of respective channel. If the transferring status of previous frame is incomplete, then skip this channel and arrange this segment into next one&#39;s frame. If the transferring status of a channel&#39;s frame becomes complete, then the respective channel counter should be increased by 1; record the transferring status of these channels&#39; frames into acknowledgement record matrix; and then, receive data by this acknowledgement record matrix and reflective channel&#39;s counters.

FIELD OF THE INVENTION

[0001] The present invention is relative to a multi channels data transmission control method, which recovers received data by an acknowledgement record matrix.

BACKGROUND OF THE INVENTION

[0002] In a general TDMA (Time Division Multiple Access) system (Oust like GSM, DECT), multiple time slots can be used at the same time to transfer data for enhancing the transmission rate; but the reflected data flow control would be more complex. For example, by the way of Sequence Number, receiver will recover the data by the sequence number of every data segment, so the overhead of data, buffer size, and operating speed should be limited.

[0003]FIG. 1 is a traditional DECT system. There are 24 time slots in one data frame: the first half is downlink (from FP (Fixed Part) to PP (Portable Part)), and the second half is uplink (from PP to FP). In general, a PP would create a single channel with an FP, for example, using the pair of (Slot 2, Slot 14) time slots. But for high data transmission purpose, we may create N channels between a PP and a FP; that is, we may enhance the transmission rate via using 2N time slots concurrently. So, the data of FP will be partitioned into several units by the base of a time slot's size, and be transferred via N channels sequentially; and so does PP. But the flow control would become more and more difficult.

[0004]FIG. 2 shows a traditional multi channels transmission from a FP to a PP. If there are 5 channels existed in one data frame concurrently, then the data transmission rate will be enhanced by 5 times. But if channel 1, 3, 5 transfer data successfully and channel 2 and 4 don't, then how can a PP manage the received data segments is a very important topic.

[0005] U.S. Pat. No. 6,021,124 provides a similar solution: pushing data segments into every channel's FIFO (First In, First Out) stack and transferred by every channel respectively. For example, there are 10 data segments numbered by 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, and there are 5 channels for data transferred; the arrangements are: Channel 1 transfers segment 0 and 5, Channe 12 transfers segment 1 and 6, Channel 3 transfers segment 2 and 7, Channel 4 transfers segment 3 and 8, and Channel 5 transfers segment 4 and 9. If Channel 2 fails, then segment 6 cannot be transferred until segment 1 transferred completely; but if segment 1 always cannot be transferred, then all the data queued in Channel 2 cannot be transferred to receipt end. This will affect the data transmission rate.

SUMMARY OF THE INVENTION

[0006] The object of the present invention is, based on the drawback of above skill and provides a new solution to solve the data receiving sequence problem of receipt end, decrease the amount of transferred data overhead effectively, enhance the data transmission rate, and decrease the calculating demand of receipt end. Further more, we may commit flexible transmission rate to make system maintenance more robust, and commit all the extension requirements of TDMA system.

[0007] For above purpose, we provide a multi channels data transmission control method, and whose procedures are listed as below:

[0008] Provide multiple channels and channel counters with the same number, these channels have multiple data frames;

[0009] Based on these channels and data frames to generate an acknowledgement record matrix;

[0010] Partition data into several segments;

[0011] Arrange every data segment into every channel's frame sequentially and check the transferring status of previous frame of respective channel. If the transferring status of previous frame is incomplete, then skip this channel and arrange this segment into next one's frame.

[0012] If the transferring status of a channel's frame becomes complete, then the respective channel counter should be increased by 1;

[0013] Record the transferring status of these channels' frames into acknowledgement record matrix;

[0014] And then, receive data by this acknowledgement record matrix and reflective channel's counters.

[0015] In accordance with one aspect of the present invention, if the transferring status of previous frame is incomplete for a frame, then the data segment of the previous frame has to reload into this frame and transfer again.

[0016] In accordance with one aspect of the present invention, the first row of acknowledgement record matrix all be set to “1”.

[0017] In accordance with one aspect of the present invention, all the data of the matrix from the second row should be set to “1” after the status of reflective channels' frames are complete, and the data of matrix should be set to “0” if the status of reflective channels' frames are incomplete.

[0018] In accordance with one aspect of the present invention, the channels' counters should be increased by 1after the reflective data segments of frames are transferred completely, and the receipt end will receive these data segments when the reflective counters are not 0.

[0019] In accordance with one aspect of the present invention, the way to determine the frame transmission is complete or not is based on the acknowledged signal from receipt end.

[0020] The present invention provides another multi channels data transmission control method, which is progressed at the transferred end and listed as below:

[0021] Arrange the first data segment into the first data frame of the first channel;

[0022] Arrange the second data segment into the first data frame of the second channel;

[0023] Check the first data frame of the first channel, arrange the third data segment into the second data frame of the first channel after the first data frame of the first channel is transferred completely, or arrange the third data segment into the second data frame of the second channel if the first data frame of the first channel is transferred incompletely.

[0024] In accordance with one aspect of the present invention, the way to determine the frame transmission is complete or not is based on the acknowledged signal from receipt end.

[0025] The present invention provides another multi channels data transmission control method, which is progressed at the receipt end and listed as below:

[0026] Allocate the first sign into the first row of an acknowledgement record matrix;

[0027] Increase the first channel counter by 1 after the first data frame of the first channel receives data completely and allocate the first sign into the matrix's first column of the second row, or allocate the second sign into the matrix's first column of the second row if the first data frame of the first channel does not receive data completely; and

[0028] Increase the second channel counter by 1 after the first data frame of the second channel receives data completely and allocate the first sign into the matrix's second column of the second row, or allocate the second sign into the matrix's second column of the second row if the first data frame of the second channel does not receive data completely.

[0029] In accordance with one aspect of the present invention, the way to determine the frame receiving is complete or not is responding an acknowledged signal to transferring end.

[0030] In accordance with one aspect of the present invention, the first sign is “1” and the second sign is “0”.

[0031] The present invention may best be understood through the following description with reference to the accompanying drawings, in which:

BRIEF DESCRIPTION OF THE DRAWINGS

[0032]FIG. 1 is a traditional TDMA (Time Division Multiple Access) system;

[0033]FIG. 2 is a traditional multi channels transmission from FP to PP;

[0034]FIG. 3 is a diagram for data transfer according to the present invention;

[0035]FIG. 4(a) is a diagram showing the 5 channels according to the present invention;

[0036]FIG. 4(b) is a diagram showing the receiving queue according to the present invention;

[0037]FIG. 4(c) is a diagram showing the Acknowledgement Record Matrix according to the present invention;

[0038]FIG. 5(a) is a diagram showing the channel selecting flow according to the present invention;

[0039]FIG. 5(b) is a diagram showing the number of every channel's counter (or queue size) at the receipt end according to the present invention; and

[0040]FIG. 5(c) is a diagram showing the recovery of receiving queues according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

[0041]FIG. 3 shows the data transmission example according to the present invention. In our system, Channel 31 is set to be a kind of resource. Whenever the transmission end (TX) will transfer data, then TX has to search a vacant channel sequentially; if Channel 31 is vacant, then Segment 32 would occupy this channel and will not release it until this segment is transferred completely. If the segment cannot be transferred completely, then this channel will re-transfer it by next data frame and never stop until transferring completely. When TX end receives an acknowledged signal Ack from receipt end (RX), then TX will release the channel because the previous segment is transferred completely. So, the data that will be transferred from FP to PP will be arranged into vacant channels sequentially, and this is the only one transferring rule of TX end. But sometimes Channel 31 has to re-transfer data due to transferring error, so the Received-Queue 33 of the 5 channels at the RX end will be messy and the sequences of received segments will be involute.

[0042]FIG. 4(a) shows the 5 channels according to the present invention. If we generate 5 channels concurrently, then the x-axis means different channels, the y-axis means sequential frames, and the numbers in squares means the sequence of transferred segments. The value of square is X would mean transferring error, and the same channel of next frame has to re-transfer the same segment. For example, if Channel 2 of Frame I transfers data incompletely, then Channel 2 of Frame 2 still has to transfer Segment 2 again; and all the fourth channels of Frame 1, Frame 2, and Frame 3 would transfer Segment 4. So, from FIG. 4(a) we may know the complete progress of system's data transmission and we may understand the data segments of received queues, just like FIG. 4(b). For RX end, data segments cannot be transferred to the higher layer until the sequences of segments are correct.

[0043] In fact, the reason why the segments can occupy channels and be transferred is, TX end receives an Ack signal from RX end and releases the channels. So the RX end could predict the transmission sequences from TX.

[0044] From the first row of FIG. 4(a) and the second row of FIG. 4(c), we may find that FIG. 4(c) just records the values into 1 if Ack signals are received, and records the values into 0 if Ack signals are not received. So we may generate a matrix by recording the progress of Ack signals' transmitting from RX end, just likes FIG. 4(c). And we called this matrix as Ack Record Matrix, which also means the useable time stamp of TX end's channels. In this Fig., the values of Ack Record Matrix's first row are all 1 because the 5 channels all are vacant at the beginning.

[0045] Mapping FIG. 4(c) to FIG. 4(b), we may find that Ack Record Matrix can recover the sequences of received data segments. For example, when Segment6 of Queue 1 has received, then we have to skip to Queue 2 for receiving Segment 7; mapping to Ack Record Matrix, the value of Matrix[2,1] is 1 means Segment 6 has to be received from Queue 1, the value of Matrix[2,2] is 0 means ignore, and the value of Matrix[2,3] is 1 means Segment 7 has to be received from Queue 3, and so on.

[0046] Furthermore, every received queue has to own its counter to record the current number of legal data segments in the queue. For example, after Frame 1 is finished, the counters' values of the 5 queues are 1, 0, 1, 0, 1, respectively. Based on Ack Record Matrix, we receive Segment 1 from Queue 1 firstly, which counter value is 1 means Segment 1 is allocated in the queue. Then receiving Segment 2 from Queue 2, but the counter value is 0 means Segment 2 has not arrived, so we cannot receive Segment 2 until Frame 2 gets it and counter value is not 0. And so on.

[0047] So the Ack Record Matrix just tells us which queue to receive data, but the counter value of queue tells us the data have arrived to be received or not.

[0048]FIG. 5(a) shows the channels selection progress according to the present invention example. Whenever arranging a segment into a channel, we may check the acknowledgement signal of previous transferring segment to certify the channel is vacant or not. If the Ack signal has been received, then this channel is vacant (data have been transferred completely); if the Ack signal has not been received, then this channel is occupied (data transmission has not completed). If the channel is vacant, then we can arrange a new segment into this channel for transmission; if the channel is occupied, then selecting next vacant channel to transfer this segment.

[0049]FIG. 5(b) shows the data segments' amounts of every channel (or queue) at the receipt end according to the present invention. Every channel has its reflected receiving queue and counter. When a channel's segment has received completely, the segment will be pushed into the reflected queue, the channel counter will be increased by 1, and the reflected address in Ack Record Matrix will be set to “1”. If a channel's frame is not received completely, then the reflected receiving queue will not be increased, the channel counter will not be increased, and the reflected address in Ack Record Matrix will be set to “0”.

[0050]FIG. 5(c) shows the data recovery of received queue according to the present invention. Before recovering the data, the records in Ack Record Matrix have to be checked firstly to decide the correct received queue for data receiving. Secondly check the counters' value: if value is not 0, then receive the data from reflected queue, decrease the counter value by 1, and receive data from next queue; if value is 0, then waiting for the data arrive at the queue for receiving.

[0051] This contrivance can complete the whole flow control without any sequence number, and Ack Record Matrix can commit any transmission rate. For example, the numbers of Ack Record Matrix's columns are the maximal channels' numbers in the system, which is set to N. If a service requests only N-2 channels, then the size of Ack Record Matrix does not need to modify and just insert “0” into those mapping idle channels of the matrix.

[0052] To sum up, this contrivance includes below advantages:

[0053] 1. This contrivance can complete the flow control without any sequence number, which effectively decreases the overhead of transmission.

[0054] 2. Receipt end can recovery all the data segments by Ack Record Matrix only, which enhances transmission rate and reduces the requirement for operating ability of RX end.

[0055] 3. The design of Ack Record Matrix can commit any transmission rate, which provides high flexibility for system maintenance.

[0056] 4. This contrivance can save the received buffer size. For example, a constant size received buffer can be partitioned for 2 or 3 channels by simple memory management program. This contrivance manages received queues by link-listed strategy, so the reception of all channels will not be effected if the throughput of a channel reduces due to congestion.

[0057] 5. This contrivance can commit all TDMA systems.

[0058] The present invention controls data segments reception by recording every segment's acknowledgement signal in the Ack Record Matrix and counting at the received queue, which is a brand new contrivance with improvement, practicability, and concession.

[0059] While the invention has been described in terms of what are presently considered to be the most practical and preferred embodiments, it is to be understood that the invention need not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures. 

What is claimed is:
 1. A multi channels data transmission control method comprising steps of: providing multiple channels and channel counters according said multipe channels, said channels having multiple data frames; generating an acknowledgement record matrix basing on said channels and said data frames; partitioning a data into several segments; arranging said segments into said data frames sequentially and checking a transferring status of a previous frame of a respective channel, when said transferring status of said previous frame is incomplete, then skiping said channel and arranging said segment into a data frame of a next channel; when said transferring status of said data frame of said channel becomes complete, then increasing a respective channel counter by 1; recording said transferring status of said data frames of said channels into said acknowledgement record matrix; and receiving said data according said acknowledgement record matrix and said respective channel counter.
 2. A method according to claim 1 when said transferring status of said previous frame is incomplete for said data frame, then said segment of said previous frame has to reload into said data frame and transfer again.
 3. A method according to claim 1 wherein a plurality of data of a first row of said acknowledgement record matrix are all set to “1”.
 4. A method according to claim 1 wherein a data of said acknowledgement record matrix is set to “1” after said transferring statu of said data frame is complete, and said data of said acknowledgement record matrix is set to “0” after said transferring status of said frame is incomplete, for rows of said acknowledgement record matrix except a first row.
 5. A method according to claim 1 wherein a channel counter is increased by 1 after a segment of a data frame is transferred completely, and said segment is received after said channel counter is large more than
 0. 6. A method according to claim 1 wherein a way to determine a transmission of said data frame is complete is according an acknowledged signal from a receipt end.
 7. A multi channels data transmission control method, wherein a transferred end comprising steps of: arranging a first data segment into a first data frame of a first channel; arranging a second data segment into a first data frame of a second channel; and checking said first data frame of said first channel, arranging a third data segment into a second data frame of said first channel after said first data frame of said first channel being transferred completely, and arranging said third data segment into a second data frame of said second channel when said first data frame of said first channel being transferred incompletely.
 8. A method according to claim 7 wherein a way to determine a data frame transmission is complete according an acknowledged signal from a receipt end.
 9. A multi channels data transmission control method, wherein a receipt end comprising stpes of: allocating a first sign into a first row of an acknowledgement record matrix; increasing a first channel counter by 1 after a first data frame of a first channel receiving data completely and allocating said first sign into a first column of a second row of said acknowledgement record matrix, and allocating a second sign into said first column of said second row of said acknowledgement record matrix when said first data frame of said first channel receiving data incompletely; and increasing a second channel counter by 1 after receiving a first data frame of a second channel completely and allocating said first sign into said second column of said second row of said acknowledgement record matrix, and allocating said second sign into said second column of said second row of said acknowledgement record matrix after receiving said first data frame of said second channel incompletely.
 10. A method according to claim 9 wherein a way to determine receiving said data frames is complete is responding an acknowledged signal to a transferring end.
 11. A method according to claim 9 wherein said first sign is “1” and said second sign is “0”. 